<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<style>
  body {
      background-color:#b0c4de;
      background-image: url('https://picsum.photos/200/300');
      /* 默认会平铺满整个盒子 下面语句只在水平方向平铺  */
      /* background-repeat:repeat-x; */
      /* 不平铺 且指定背景在盒子中的定位*/
      background-repeat:no-repeat;
      background-position:right top;

      
    }

    /* 简写 */
    body {background:#2b1010 url('https://picsum.photos/200/300') no-repeat right top;}
</style>
<body>
  
</body>
</html>